---------------------------------------------------------------------------------
  -- Design Name : Three-State Buffer
  -- File Name   : GenTsb.vhd
  -- Function    : Three-state buffer
  -- Authors     : Mirko Francuski  2006/0225
  --               Milos Mihajlovic 2006/0039
  -- School      : University of Belgrade
  --               School for Electrical Engineering
  --               Department for Computer Engineering and Information Theory
  -- Subject     : VLSI Computer Systems
---------------------------------------------------------------------------------

library ieee;

use ieee.std_logic_1164.all;
use ieee.std_logic_signed.all;
use ieee.std_logic_unsigned.all;
use ieee.numeric_std.all;
use work.UserPkg.all;

entity GenTsb is
  port (
    request : in  std_logic;
    dataIn :  in  word32;
    dataOut : out word32 := (others => 'Z')
  );
end GenTsb;

architecture behavioral of GenTsb is
begin
  dataOut <= dataIn when request = '1' else
             (others => 'Z');
end architecture behavioral;